import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'
import 'lib-flexible/flexible'
import VueCookies from 'vue-cookies'
import {Button, NavBar, Field, Cell, Popup, Tabbar, TabbarItem, Toast, Swipe, SwipeItem, Search, Col, Row, CellGroup, Card, SwipeCell, Checkbox, Stepper, GoodsAction, GoodsActionButton, GoodsActionIcon, AddressList, AddressEdit, List, SubmitBar, Sidebar, SidebarItem, Icon, Tab, Tabs, Uploader} from 'vant'

Vue
  .use(Button)
  .use(NavBar)
  .use(Field)
  .use(Popup)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Toast)
  .use(Swipe)
  .use(SwipeItem)
  .use(Search)
  .use(Col)
  .use(Row)
  .use(Cell)
  .use(CellGroup)
  .use(Card)
  .use(SwipeCell)
  .use(Checkbox)
  .use(Stepper)
  .use(GoodsAction)
  .use(GoodsActionButton)
  .use(GoodsActionIcon)
  .use(AddressList)
  .use(AddressEdit)
  .use(List)
  .use(SubmitBar)
  .use(Sidebar)
  .use(SidebarItem)
  .use(Icon)
  .use(Tab)
  .use(Tabs)
  .use(Uploader)

Vue.config.productionTip = false

Vue.use(VueCookies)

Vue.prototype.appkey = 'U2FsdGVkX19WSQ59Cg+Fj9jNZPxRC5y0xB1iV06BeNA='  

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
